#ifndef FS_MANAGER_H_
#define FS_MANAGER_H_

#include "esp_err.h"
#include "esp_vfs_fat.h"
#include "sdmmc_cmd.h"
#include "driver/sdmmc_defs.h"
#include "driver/sdmmc_host.h"

#ifdef __cplusplus
extern "C" {
#endif

#define SPIFFS_BASE             "/spiffs"

#define SD_MOUNT_POINT          "/sdcard"

bool fs_manager_get_sd_volume_state();
bool sd_card_get_state(void);

esp_err_t sd_sdiofs_mount(void);
esp_err_t sd_sdiofs_unmount(void);
esp_err_t bsp_spiffs_mount(void);
void fs_manager_init(void);

#ifdef __cplusplus
}
#endif

#endif /* FS_MANAGER_H_ */
